/* =================== */
/* ESTILOS GENERALES */
/* =================== */

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #e8f5f9;
  margin: 0;
  padding: 20px;
}

.titulo-principal {
  text-align: center;
  color: #6d929b;
  margin-bottom: 30px;
}

.perfil-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

/* =================== */
/* TARJETAS DE PERFIL */
/* =================== */

.card {
  background: linear-gradient(135deg, #96cfa4, #6d929b);
  border-radius: 20px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  width: 300px;
  padding: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #6d929b;
  margin-bottom: 15px;
}

.card h2 {
  color: #104728;
  margin: 10px 0 5px;
}

.card p {
  font-size: 14px;
  text-align: justify;
  color: #1e2935;
  margin-bottom: 15px;
}

/* =================== */
/* PRÁCTICAS Y BOTONES */
/* =================== */

.practicas {
  text-align: left;
  padding: 10px;
  background-color: #ffffffcc;
  border-radius: 10px;
}

/* Botón de acordeón */
.accordion {
  background: linear-gradient(90deg, #96cfa4, #6d929b);
  color: white;
  cursor: pointer;
  padding: 12px 18px;
  width: 100%;
  border: none;
  border-radius: 30px;
  text-align: left;
  font-size: 15px;
  margin-top: 10px;
  transition: background 0.3s, transform 0.2s;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}

.accordion:hover {
  background: linear-gradient(90deg, #96cfa4, #6d929b);
  transform: scale(1.02);
}

/* Contenido desplegable */
.panel {
  padding: 0 15px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.panel ul {
  list-style-type: square;
  padding-left: 20px;
  margin-top: 10px;
  font-size: 14px;
  color: #1b2631;
}

.panel ul li {
  margin-bottom: 6px;
}

/* Enlaces del ojo */
.panel a {
  margin-left: 8px;
  color: #2980b9;
  text-decoration: none;
}

.panel a:hover {
  color: #1c598d;
}